package study;
import java.util.Scanner;
/**
 * Created by GUOQ on 2016/3/15.
 */
public class CreateList {
   public static void main(String[] args) {

       Scanner input=new Scanner(System.in);
       System.out.println("请输入一个数组长度：");
       int[][] iinntt= create(input.nextInt());
       ArrayUtils.printArray2(iinntt);

    }

    private static int[][]  create(int arr)
    {
        int k = 1;
        int[][] iinntt = new int[arr][arr];

        for(int i = 0;i<arr;i++){
            for(int j = 0;j<arr;j++)
            {
                k = k+2;
                iinntt[i][j] = k;
            }
        }
        return iinntt;
    }
}